<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../assets/img/favicon-72.png">
<link rel="apple-touch-icon-precomposed" href="../../assets/img/favicon-32.png">
<link rel="shortcut icon" href="../../assets/img/favicon-32.png">

<link rel="stylesheet" href="../../assets/css/vk.css"/>
<link rel="stylesheet" href="../../assets/css/prism.css"/>


<vk-title>VkQueryPipelineStatisticFlagBits | NVK</vk-title>

<vk-centered>

  <vk-navigation>
  <vk-search-title>Search</vk-search-title>
  <vk-search>
    <input type="text" id="search" autocomplete="off" />
    <vk-search-results>
      <ol id="search-list">
        <li id="no-search-results">No Results</li>
      </ol>
    </vk-search-results>
  </vk-search>
  <vk-section-title style="margin-top: 1em;">Categories</vk-section-title>
  <vk-categories></vk-categories>
</vk-navigation>


  <vk-struct>

    <vk-name>VkQueryPipelineStatisticFlagBits</vk-name>

    <vk-description>Bitmask specifying queried pipeline statistics</vk-description>

    <vk-section-title>Stub</vk-section-title>
    <vk-stub>
      <pre><code class="language-js">VkQueryPipelineStatisticFlagBits = {
  VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT: 0x1,
  VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT: 0x2,
  VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT: 0x4,
  VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT: 0x8,
  VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT: 0x10,
  VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT: 0x20,
  VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT: 0x40,
  VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT: 0x80,
  VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT: 0x100,
  VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT: 0x200,
  VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT: 0x400
};</code></pre>
    </vk-stub>

    <vk-section-title>Properties</vk-section-title>

    <vk-properties>
      <vk-property-entry>
        <vk-property-prototype>VkQueryPipelineStatisticFlagBits.<vk-prototype-name>VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT</vk-prototype-name></vk-property-prototype>
        <vk-property-description> specifies that queries managed by the pool will count the number of vertices processed by the <<drawing,input assembly>> stage. Vertices corresponding to incomplete primitives <i>may</i> contribute to the count.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkQueryPipelineStatisticFlagBits.<vk-prototype-name>VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT</vk-prototype-name></vk-property-prototype>
        <vk-property-description> specifies that queries managed by the pool will count the number of primitives processed by the <<drawing,input assembly>> stage. If primitive restart is enabled, restarting the primitive topology has no effect on the count. Incomplete primitives <i>may</i> be counted.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkQueryPipelineStatisticFlagBits.<vk-prototype-name>VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT</vk-prototype-name></vk-property-prototype>
        <vk-property-description> specifies that queries managed by the pool will count the number of vertex shader invocations. This counter's value is incremented each time a vertex shader is <<shaders-vertex-execution,invoked>>.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkQueryPipelineStatisticFlagBits.<vk-prototype-name>VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT</vk-prototype-name></vk-property-prototype>
        <vk-property-description> specifies that queries managed by the pool will count the number of geometry shader invocations. This counter's value is incremented each time a geometry shader is <<shaders-geometry-execution,invoked>>. In the case of <<geometry-invocations,instanced geometry shaders>>, the geometry shader invocations count is incremented for each separate instanced invocation.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkQueryPipelineStatisticFlagBits.<vk-prototype-name>VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT</vk-prototype-name></vk-property-prototype>
        <vk-property-description> specifies that queries managed by the pool will count the number of primitives generated by geometry shader invocations. The counter's value is incremented each time the geometry shader emits a primitive. Restarting primitive topology using the SPIR-V instructions <i>OpEndPrimitive</i> or <i>OpEndStreamPrimitive</i> has no effect on the geometry shader output primitives count.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkQueryPipelineStatisticFlagBits.<vk-prototype-name>VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT</vk-prototype-name></vk-property-prototype>
        <vk-property-description> specifies that queries managed by the pool will count the number of primitives processed by the <<vertexpostproc-clipping,Primitive Clipping>> stage of the pipeline. The counter's value is incremented each time a primitive reaches the primitive clipping stage.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkQueryPipelineStatisticFlagBits.<vk-prototype-name>VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT</vk-prototype-name></vk-property-prototype>
        <vk-property-description> specifies that queries managed by the pool will count the number of primitives output by the <<vertexpostproc-clipping,Primitive Clipping>> stage of the pipeline. The counter's value is incremented each time a primitive passes the primitive clipping stage. The actual number of primitives output by the primitive clipping stage for a particular input primitive is implementation-dependent but <i>must</i> satisfy the following conditions:</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkQueryPipelineStatisticFlagBits.<vk-prototype-name>VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT</vk-prototype-name></vk-property-prototype>
        <vk-property-description> specifies that queries managed by the pool will count the number of fragment shader invocations. The counter's value is incremented each time the fragment shader is <<shaders-fragment-execution,invoked>>.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkQueryPipelineStatisticFlagBits.<vk-prototype-name>VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT</vk-prototype-name></vk-property-prototype>
        <vk-property-description> specifies that queries managed by the pool will count the number of patches processed by the tessellation control shader. The counter's value is incremented once for each patch for which a tessellation control shader is <<shaders-tessellation-control-execution,invoked>>.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkQueryPipelineStatisticFlagBits.<vk-prototype-name>VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT</vk-prototype-name></vk-property-prototype>
        <vk-property-description> specifies that queries managed by the pool will count the number of invocations of the tessellation evaluation shader. The counter's value is incremented each time the tessellation evaluation shader is <<shaders-tessellation-evaluation-execution,invoked>>.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkQueryPipelineStatisticFlagBits.<vk-prototype-name>VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT</vk-prototype-name></vk-property-prototype>
        <vk-property-description> specifies that queries managed by the pool will count the number of compute shader invocations. The counter's value is incremented every time the compute shader is invoked. Implementations <i>may</i> skip the execution of certain compute shader invocations or execute additional compute shader invocations for implementation-dependent reasons as long as the results of rendering otherwise remain unchanged.</vk-property-description>
      </vk-property-entry>
      
    </vk-properties>

  </vk-struct>

</vk-centered>

<script>
const IS_ROOT = false;
</script>

<script type="text/javascript" src="../../assets/js/prism.min.js"></script>
<script type="text/javascript" src="../../assets/js/index.js"></script>
